package gui;
import com.trolltech.qt.core.QRectF;
import com.trolltech.qt.core.QSizeF;
import com.trolltech.qt.gui.QIcon;
import com.trolltech.qt.gui.QPainter;
import com.trolltech.qt.gui.QTextDocument;


public class ChatListItem {
	private QTextDocument doc;
	private String name;
	private boolean me;
	private QIcon icon;
	public ChatListItem(QTextDocument doc, String name, boolean me, QIcon icon) {
		super();
		this.doc = doc;
		this.name = name;
		this.me = me;
		this.icon = icon;
	}
	
	public QTextDocument getDoc() {
		return doc;
	}
	public void setDoc(QTextDocument doc) {
		this.doc = doc;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public boolean isMe() {
		return me;
	}
	public void setMe(boolean me) {
		this.me = me;
	}
	public QIcon getIcon() {
		return icon;
	}
	public void setIcon(QIcon icon) {
		this.icon = icon;
	}
}
